package com.ruoyi.dynamic.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.dynamic.model.pojo.entity.RoomPermission;
import com.ruoyi.dynamic.model.pojo.request.app.AppRoomPostAddOrEditRequest;
import com.ruoyi.dynamic.model.pojo.request.app.AppRoomSingDelRequest;

/**
 * <p>
 * 房间权限 服务类
 * </p>
 *
 * @author Gnc
 * @since 2025-01-14
 */
public interface IRoomPermissionService extends IService<RoomPermission> {

    /**
     * 添加编辑某个用户房间马甲
     */
    boolean addOrEdit(AppRoomPostAddOrEditRequest request, Long userId);

    /***
     * 取消马甲
     */
    boolean cancel(AppRoomSingDelRequest request, Long userId);
}
